# encoding: utf-8
import urllib

if __name__ == '__main__':
    image_url = 'http://image-7.verycd.com/914507f0ee07f74f02a2447a012c645848436%28120x120%29/thumb.jpg'
    try:
        print urllib.urlopen(image_url).read()
    except IOError: # urlopen()
        print "IOError"
    except:
        print "Unknown error."
